package com.guli.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.common.utils.PageUtils;
import com.guli.product.entity.SkuInfoEntity;
import com.guli.product.vo.SkuItemVo;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * sku信息
 * @author zzb
 * @email 1626131069@qq.com
 * @date 2023-10-21 10:18:56
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    SkuItemVo item(Long skuId);

    BigDecimal getWeight(Long skuId);

    List<SkuInfoEntity> skuInfos(List<Long> skuids);

    Boolean handleUpdateSkuInfo(SkuInfoEntity skuInfo);

    Boolean handleSaveSkuInfo(SkuInfoEntity skuInfo);
}

